package 图书管理系统;

public class Book {
    private int id;
    private  String name;
    private String Autor;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAutor() {
        return Autor;
    }

    public void setAutor(String autor) {
        Autor = autor;
    }
    //构造器：
        //初始化：
    public Book(int id,String name,String Autor) {
        this.id=id;
        this.name=name;
        this.Autor=Autor;
    }

}
